package org.paysim.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiajin
 * @since 2025-04-27
 */
@TableName("transaction_log")
public class TransactionLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("log_id")
    private String logId;

    private String orderId;

    private String transactionType;

    private BigDecimal amount;

    private String status;

    private String bankResponse;

    private LocalDateTime createTime;

    private String reverseLogId;

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getBankResponse() {
        return bankResponse;
    }

    public void setBankResponse(String bankResponse) {
        this.bankResponse = bankResponse;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getReverseLogId() {
        return reverseLogId;
    }

    public void setReverseLogId(String reverseLogId) {
        this.reverseLogId = reverseLogId;
    }

    @Override
    public String toString() {
        return "TransactionLog{" + "logId = " + logId + ", orderId = " + orderId + ", transactionType = "
                + transactionType + ", amount = " + amount + ", status = " + status + ", bankResponse = " + bankResponse
                + ", createTime = " + createTime + ", reverseLogId = " + reverseLogId + "}";
    }
}
